result ={
    "boxchart": {
        "xAxis":["总分","听力", "语法","阅读"],
        "total":[20, 35, 49,73,68],
        "listening":[20, 35, 49,73,98],
        "reading":[20, 35, 49,73,98],
        "grammar":[20, 35, 49,73,98],
        "myscore":[70,82, 49,73]
    }
};
//Highcharts.getOptions().colors = ['#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F',
//    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F',
//    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F',
//    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F']
console.log(result);
$('#main-boxlinechart').highcharts({

    chart: {
        type: 'boxplot'
    },
    credits: {
        enabled:false
    },
    //colors:[
    //    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F',
    //    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F',
    //    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F',
    //    '#4B86D6', '#4FB3E0', '#51C3C9', '#4FE0BE', '#4BD68F'
    //],
    title: {
        text: null
    },

    legend: {
        enabled: false
    },
    xAxis: {
        categories: result.boxchart.xAxis,
        title: {
            text: null
        }
    },
    color:'#4FB3E0',
    yAxis: {
        title: {
            text: null
        }
    },

    series: [{
        name: '得分情况',
        data: [
            result.boxchart.total.sort(function(a,b){return a>b?1:-1}),
            result.boxchart.listening,
            result.boxchart.grammar,
            result.boxchart.reading
        ],
        tooltip: {
            headerFormat: '<em> {point.key}</em>'
        }
    }, {
        name: '我的得分',
        color:'#4FE0BE',
        type: 'scatter',
        data: [70,82, 49,73],
        marker: {
            fillColor: 'white',
            lineWidth: 1,
            lineColor: '#4FE0BE'
        },
        tooltip: {
            pointFormat: '得分: {point.y}'
        }
    }]

});